package com.example.zjx.mvp_logindemo.otto;

import com.squareup.otto.Bus;

/**
 * Created by zjx on 2018
 * information Otto事件总线框架，单态创建
 */

public class AppBus extends Bus {
     private static AppBus appBus;
     public static AppBus getInstance(){
             if(appBus==null){
                 appBus=new AppBus();
             }
             return  appBus;
     }
}
